
#region Imports

using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;

#endregion

namespace Justa.Messaging
{
    /// <summary>
    /// 
    /// </summary>
    /// 
    public class MessageException : Exception
    {
        /// <summary>
        /// 
        /// </summary>
        /// 
        public MessageException()
        {
        }

        /// <summary>
        /// 
        /// </summary>
        /// 
        /// <param name="message"></param>
        /// 
        public MessageException(string message)
            : base(message)
        {
        }

        /// <summary>
        /// 
        /// </summary>
        /// 
        /// <param name="message"></param>
        /// <param name="exception"></param>
        /// 
        public MessageException(string message, Exception exception)
            : base(message, exception)
        {
        }

        /// <summary>
        /// Constructs this exception with the specified serialization info and 
        /// streaming context.
        /// </summary>
        /// 
        /// <param name="serializationInfo"></param>
        /// <param name="streamingContext"></param>
        /// 
        public MessageException(SerializationInfo serializationInfo, StreamingContext streamingContext)
            : base(serializationInfo, streamingContext)
        {
        }
    }
}
